package backend.rss.items;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class DetailedThemeItem extends ThemeItem
{
	private int votes;
	private int downloads;
	private int numFavourites;
	private List<TagItem> tags;

	private List<CommentItem> comments;
	
	public DetailedThemeItem(String id, 
							 String title, 
							 AuthorItem author, 
							 int rating,
							 float ratingFractional,
							 int userRating,
							 int votes,
							 int downloads,
							 int numFavourites,
							 Date dateCreated, 
							 Date dateEdited,
							 List<SwatchItem> swatches,
							 List<CommentItem> comments,
							 List<TagItem> tags)
	{
		super(id, title, author, rating, ratingFractional, userRating, dateCreated, dateEdited, swatches);
		
		this.votes			= votes;
		this.downloads		= downloads;
		this.numFavourites	= numFavourites;
		this.comments 		= comments;
		this.tags 			= tags;
	}

	/**
	 * @return the votes
	 */
	public int getVotes()
	{
		return votes;
	}

	/**
	 * @return the downloads
	 */
	public int getDownloads()
	{
		return downloads;
	}

	/**
	 * @return the numFavourites
	 */
	public int getNumFavourites()
	{
		return numFavourites;
	}

	/**
	 * @return the tags
	 */
	public List<TagItem> getTags()
	{
		return tags;
	}

	/**
	 * @return the comments
	 */
	public List<CommentItem> getComments()
	{
		return comments;
	}

}
